<%--
  Created by IntelliJ IDEA.
  User: 16549
  Date: 2022/1/16
  Time: 19:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="${pageContext.request.contextPath}/user/request4" method="post">
    <%-- 表明第一个User对象的name addr--%>
    <input type="text" name="userList[0].name" required/><br/>
    <input type="text" name="userList[0].addr" required/><br/>
    <input type="text" name="userList[1].name" required/><br/>
    <input type="text" name="userList[1].addr" required/><br/>
    <input type="submit" value="OK">
</form>
</body>
</html>
